import java.io.*;
import java.net.*;

public class Player 
{
    private DataOutputStream dout;
    private DataInputStream din;
    private String username;
    private Socket s;
    public Player(String user, DataInputStream din, DataOutputStream dout, Socket s)
    {
	this.username = user;
	this.din = din;
	this.dout = dout;
	this.s=s;
    }
    public DataOutputStream getDataOutputStream()
    {
	return dout;
    }
    
    public DataInputStream getDataInputStream()
    {
	return din;
    }
    
    public Socket getSocket()
    {
	return s;
    }
    
    public String getUsername()
    {
	return username;
    }
}
